package com.ruoyi.system.domain.estate;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物疫苗接种记录对象 t_pet_vaccine
 * 
 * @author ruoyi
 */
public class PetVaccine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 疫苗记录ID */
    private Long vaccineId;

    /** 宠物ID */
    @Excel(name = "宠物ID")
    private Long petId;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String petName;

    /** 疫苗名称 */
    @Excel(name = "疫苗名称")
    private String vaccineName;

    /** 接种日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接种日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaccineDate;

    /** 下次接种日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次接种日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextVaccineDate;

    /** 接种医院 */
    @Excel(name = "接种医院")
    private String hospital;

    /** 接种医生 */
    @Excel(name = "接种医生")
    private String doctor;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setVaccineId(Long vaccineId) 
    {
        this.vaccineId = vaccineId;
    }

    public Long getVaccineId() 
    {
        return vaccineId;
    }
    
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    
    public void setPetName(String petName) 
    {
        this.petName = petName;
    }

    public String getPetName() 
    {
        return petName;
    }
    
    public void setVaccineName(String vaccineName) 
    {
        this.vaccineName = vaccineName;
    }

    public String getVaccineName() 
    {
        return vaccineName;
    }
    
    public void setVaccineDate(Date vaccineDate) 
    {
        this.vaccineDate = vaccineDate;
    }

    public Date getVaccineDate() 
    {
        return vaccineDate;
    }
    
    public void setNextVaccineDate(Date nextVaccineDate) 
    {
        this.nextVaccineDate = nextVaccineDate;
    }

    public Date getNextVaccineDate() 
    {
        return nextVaccineDate;
    }
    
    public void setHospital(String hospital) 
    {
        this.hospital = hospital;
    }

    public String getHospital() 
    {
        return hospital;
    }
    
    public void setDoctor(String doctor) 
    {
        this.doctor = doctor;
    }

    public String getDoctor() 
    {
        return doctor;
    }
    
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vaccineId", getVaccineId())
            .append("petId", getPetId())
            .append("petName", getPetName())
            .append("vaccineName", getVaccineName())
            .append("vaccineDate", getVaccineDate())
            .append("nextVaccineDate", getNextVaccineDate())
            .append("hospital", getHospital())
            .append("doctor", getDoctor())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 